/**
 * @className GoodsAndGoods_detail
 * @author liuxuelin
 * @Date 2021/1/20
 * @version v1.0
 */

package com.hidt.shop.domain;

public class GoodsAndGoods_detail {
    private int good_id;//商品ID
    private String good_name;//商品名称
    private int class_id;//商品所属的大分类，指向goods_class中的id
    private int category_id;//商品所属的小分类，指向category中的CATEGORY_ID
    private String good_picture;//商品的图片：如果数据库中存图片的地址，数据类型为varchar2(50)。如果数据库中存的是图片，则用BLOB
    private float goodsale_price;//商品的出售价格，库里存的是数字，页面上显示为￥数字。其中￥表示人民币的符号。
    private int goods_discount;//商品折扣100-0,100为原价，0为免费(默认值：100)
    private int seckil_discount; // 秒杀折扣

    private int remaining_count;//商品的剩余数量，该值必须大于或等于0
    private int goodis_upload;//上下架(默认值：1)
    private int goodis_delete;//数据是否：1为删除，0是不删除(默认值：0)
    private String saler;//出售者
    private String pic; //用于疯狂抢购区的图片
    private String small_pic1;//小图片1
    private String small_pic2;//小图片2
    private String small_pic3;//小图片3
    private String small_pic4;//小图片4
    private String small_pic5;//小图片5
    private String decribe;//用于疯狂抢购区的说明、标题的说明和商品名称
    private float carriage;//运费(默认值：0.0)
    private int count_sum;//累计售出(默认值：0)
    private String type;//值为全新或二手商品
    private String address;//商品所在地
    private int count_watch;//浏览数量(默认值：0)

    public int getGood_id() {
        return good_id;
    }

    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public int getCategory_id() {
        return category_id;
    }

    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }

    public String getGood_picture() {
        return good_picture;
    }

    public void setGood_picture(String good_picture) {
        this.good_picture = good_picture;
    }

    public float getGoodsale_price() {
        return goodsale_price;
    }

    public void setGoodsale_price(float goodsale_price) {
        this.goodsale_price = goodsale_price;
    }

    public int getGoods_discount() {
        return goods_discount;
    }

    public void setGoods_discount(int goods_discount) {
        this.goods_discount = goods_discount;
    }

    public int getSeckil_discount() {
        return seckil_discount;
    }

    public void setSeckil_discount(int seckil_discount) {
        this.seckil_discount = seckil_discount;
    }

    public int getRemaining_count() {
        return remaining_count;
    }

    public void setRemaining_count(int remaining_count) {
        this.remaining_count = remaining_count;
    }

    public int getGoodis_upload() {
        return goodis_upload;
    }

    public void setGoodis_upload(int goodis_upload) {
        this.goodis_upload = goodis_upload;
    }

    public int getGoodis_delete() {
        return goodis_delete;
    }

    public void setGoodis_delete(int goodis_delete) {
        this.goodis_delete = goodis_delete;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSmall_pic1() {
        return small_pic1;
    }

    public void setSmall_pic1(String small_pic1) {
        this.small_pic1 = small_pic1;
    }

    public String getSmall_pic2() {
        return small_pic2;
    }

    public void setSmall_pic2(String small_pic2) {
        this.small_pic2 = small_pic2;
    }

    public String getSmall_pic3() {
        return small_pic3;
    }

    public void setSmall_pic3(String small_pic3) {
        this.small_pic3 = small_pic3;
    }

    public String getSmall_pic4() {
        return small_pic4;
    }

    public void setSmall_pic4(String small_pic4) {
        this.small_pic4 = small_pic4;
    }

    public String getSmall_pic5() {
        return small_pic5;
    }

    public void setSmall_pic5(String small_pic5) {
        this.small_pic5 = small_pic5;
    }

    public String getDecribe() {
        return decribe;
    }

    public void setDecribe(String decribe) {
        this.decribe = decribe;
    }

    public float getCarriage() {
        return carriage;
    }

    public void setCarriage(float carriage) {
        this.carriage = carriage;
    }

    public int getCount_sum() {
        return count_sum;
    }

    public void setCount_sum(int count_sum) {
        this.count_sum = count_sum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCount_watch() {
        return count_watch;
    }

    public void setCount_watch(int count_watch) {
        this.count_watch = count_watch;
    }

    public GoodsAndGoods_detail() {
    }

    public GoodsAndGoods_detail(int good_id, String good_name, int class_id, int category_id, String good_picture,
                                float goodsale_price, int goods_discount, int seckil_discount, int remaining_count,
                                int goodis_upload, int goodis_delete, String saler, String pic, String small_pic1,
                                String small_pic2, String small_pic3, String small_pic4, String small_pic5,
                                String decribe, float carriage, int count_sum, String type, String address,
                                int count_watch) {
        this.good_id = good_id;
        this.good_name = good_name;
        this.class_id = class_id;
        this.category_id = category_id;
        this.good_picture = good_picture;
        this.goodsale_price = goodsale_price;
        this.goods_discount = goods_discount;
        this.seckil_discount = seckil_discount;
        this.remaining_count = remaining_count;
        this.goodis_upload = goodis_upload;
        this.goodis_delete = goodis_delete;
        this.saler = saler;
        this.pic = pic;
        this.small_pic1 = small_pic1;
        this.small_pic2 = small_pic2;
        this.small_pic3 = small_pic3;
        this.small_pic4 = small_pic4;
        this.small_pic5 = small_pic5;
        this.decribe = decribe;
        this.carriage = carriage;
        this.count_sum = count_sum;
        this.type = type;
        this.address = address;
        this.count_watch = count_watch;
    }

    @Override
    public String toString() {
        return "GoodsAndGoods_detail{" +
                "good_id=" + good_id +
                ", good_name='" + good_name + '\'' +
                ", class_id=" + class_id +
                ", category_id=" + category_id +
                ", good_picture='" + good_picture + '\'' +
                ", goodsale_price=" + goodsale_price +
                ", goods_discount=" + goods_discount +
                ", seckil_discount=" + seckil_discount +
                ", remaining_count=" + remaining_count +
                ", goodis_upload=" + goodis_upload +
                ", goodis_delete=" + goodis_delete +
                ", saler='" + saler + '\'' +
                ", pic='" + pic + '\'' +
                ", small_pic1='" + small_pic1 + '\'' +
                ", small_pic2='" + small_pic2 + '\'' +
                ", small_pic3='" + small_pic3 + '\'' +
                ", small_pic4='" + small_pic4 + '\'' +
                ", small_pic5='" + small_pic5 + '\'' +
                ", decribe='" + decribe + '\'' +
                ", carriage=" + carriage +
                ", count_sum=" + count_sum +
                ", type='" + type + '\'' +
                ", address='" + address + '\'' +
                ", count_watch=" + count_watch +
                '}';
    }
}
